<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::BaseParticles Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_base_particles.html">BaseParticles</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_s_p_h_1_1_base_particles-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::BaseParticles Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Particles with essential (geometric and kinematic) data. There are three types of particles. One is real particles whose states are updated by particle dynamics. One is buffer particles whose state are not updated by particle dynamics. They may be switched from real particles or switch to real particles. The other is ghost particles whose states are updated according to boundary condition if their indices are included in the neighbor particle list. <br />
  
 <a href="class_s_p_h_1_1_base_particles.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="base__particles_8h_source.html">base_particles.h</a>&gt;</code></p>

<p>Inherited by <a class="el" href="class_s_p_h_1_1_fluid_particles.html">SPH::FluidParticles</a>, and <a class="el" href="class_s_p_h_1_1_solid_particles.html">SPH::SolidParticles</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a4ceaaa29fb12228b3ab883444f17c028"><td class="memItemLeft" align="right" valign="top"><a id="a4ceaaa29fb12228b3ab883444f17c028"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>BaseParticles</b> (<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> *body, <a class="el" href="class_s_p_h_1_1_base_material.html">BaseMaterial</a> *base_material)</td></tr>
<tr class="separator:a4ceaaa29fb12228b3ab883444f17c028"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2da99c389016be0faf7bec43dd638e8"><td class="memItemLeft" align="right" valign="top"><a id="ae2da99c389016be0faf7bec43dd638e8"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>BaseParticles</b> (<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> *body)</td></tr>
<tr class="separator:ae2da99c389016be0faf7bec43dd638e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c918a4b9c80e320423964d051914ede"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#a0c918a4b9c80e320423964d051914ede">InitializeABaseParticle</a> (Vecd pnt, Real Vol_0, Real sigma_0)</td></tr>
<tr class="separator:a0c918a4b9c80e320423964d051914ede"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac29b7e14bee6457cbcfee3b67901906e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#ac29b7e14bee6457cbcfee3b67901906e">AddABufferParticle</a> ()</td></tr>
<tr class="separator:ac29b7e14bee6457cbcfee3b67901906e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0449d0a5f685a2885d0c98796c4c6ab2"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#a0449d0a5f685a2885d0c98796c4c6ab2">CopyFromAnotherParticle</a> (<a class="el" href="classsize__t.html">size_t</a> this_particle_index, <a class="el" href="classsize__t.html">size_t</a> another_particle_index)</td></tr>
<tr class="separator:a0449d0a5f685a2885d0c98796c4c6ab2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4a396f910899f952cc779677b063cf2"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#ab4a396f910899f952cc779677b063cf2">UpdateFromAnotherParticle</a> (<a class="el" href="classsize__t.html">size_t</a> this_particle_index, <a class="el" href="classsize__t.html">size_t</a> another_particle_index)</td></tr>
<tr class="separator:ab4a396f910899f952cc779677b063cf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7d8eefc5ca4efa99789fe91b349fd0c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#ab7d8eefc5ca4efa99789fe91b349fd0c">swapParticles</a> (<a class="el" href="classsize__t.html">size_t</a> this_particle_index, <a class="el" href="classsize__t.html">size_t</a> that_particle_index)</td></tr>
<tr class="separator:ab7d8eefc5ca4efa99789fe91b349fd0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae100aed7c54da1c672adf12bf692ad03"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#ae100aed7c54da1c672adf12bf692ad03">isSwappingAllowed</a> (<a class="el" href="classsize__t.html">size_t</a> this_particle_index, <a class="el" href="classsize__t.html">size_t</a> that_particle_index)</td></tr>
<tr class="separator:ae100aed7c54da1c672adf12bf692ad03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad651c3c45924d4646012e42f814a9525"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#ad651c3c45924d4646012e42f814a9525">insertAGhostParticle</a> (<a class="el" href="classsize__t.html">size_t</a> index_particle_i)</td></tr>
<tr class="separator:ad651c3c45924d4646012e42f814a9525"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a148829e13af97864d088243029640369"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#a148829e13af97864d088243029640369">getSPHBody</a> ()</td></tr>
<tr class="separator:a148829e13af97864d088243029640369"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8556f29d94752fcffb92d47ac9ddbd03"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#a8556f29d94752fcffb92d47ac9ddbd03">WriteParticlesToVtuFile</a> (ofstream &amp;output_file)</td></tr>
<tr class="separator:a8556f29d94752fcffb92d47ac9ddbd03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6a1897727cd324d07287bc135297bbb"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#ad6a1897727cd324d07287bc135297bbb">WriteParticlesToPltFile</a> (ofstream &amp;output_file)</td></tr>
<tr class="separator:ad6a1897727cd324d07287bc135297bbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0407cf5f6a5aa2d2676ed7ecb67f412b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#a0407cf5f6a5aa2d2676ed7ecb67f412b">WriteParticlesToXmlForRestart</a> (std::string &amp;filefullpath)</td></tr>
<tr class="separator:a0407cf5f6a5aa2d2676ed7ecb67f412b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f2730d75f45068921b16338bb05c5fb"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#a1f2730d75f45068921b16338bb05c5fb">ReadParticleFromXmlForRestart</a> (std::string &amp;filefullpath)</td></tr>
<tr class="separator:a1f2730d75f45068921b16338bb05c5fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af58b2a93c61f1b99b92e8c719c997b6c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#af58b2a93c61f1b99b92e8c719c997b6c">WriteToXmlForReloadParticle</a> (std::string &amp;filefullpath)</td></tr>
<tr class="separator:af58b2a93c61f1b99b92e8c719c997b6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2f5c838360bca79acaec94a9fbd2e9d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#ab2f5c838360bca79acaec94a9fbd2e9d">ReadFromXmlForReloadParticle</a> (std::string &amp;filefullpath)</td></tr>
<tr class="separator:ab2f5c838360bca79acaec94a9fbd2e9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a216a4d01a6c0d13d7e4efe20fbd18144"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_s_p_h_1_1_base_particles.html">BaseParticles</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#a216a4d01a6c0d13d7e4efe20fbd18144">PointToThisObject</a> ()</td></tr>
<tr class="separator:a216a4d01a6c0d13d7e4efe20fbd18144"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacd901a6230deb7dfb2b6e5ca192072c"><td class="memItemLeft" align="right" valign="top">virtual Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#aacd901a6230deb7dfb2b6e5ca192072c">normalizeKernelGradient</a> (<a class="el" href="classsize__t.html">size_t</a> particle_index_i, Vecd &amp;kernel_gradient)</td></tr>
<tr class="separator:aacd901a6230deb7dfb2b6e5ca192072c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affce1d43813839bdc86d091ff8c77e2d"><td class="memItemLeft" align="right" valign="top">virtual Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#affce1d43813839bdc86d091ff8c77e2d">getKernelGradient</a> (<a class="el" href="classsize__t.html">size_t</a> particle_index_i, <a class="el" href="classsize__t.html">size_t</a> particle_index_j, Real dW_ij, Vecd &amp;e_ij)</td></tr>
<tr class="separator:affce1d43813839bdc86d091ff8c77e2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c0245086daa4d05e214874f158dc53a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#a2c0245086daa4d05e214874f158dc53a">mirrorInAxisDirection</a> (<a class="el" href="classsize__t.html">size_t</a> particle_index_i, Vecd body_bound, <a class="el" href="classint.html">int</a> axis_direction)</td></tr>
<tr class="separator:a2c0245086daa4d05e214874f158dc53a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a6b6da33563d4725affb544d20848ea58"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_base_material.html">BaseMaterial</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#a6b6da33563d4725affb544d20848ea58">base_material_</a></td></tr>
<tr class="separator:a6b6da33563d4725affb544d20848ea58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40cf7504c361f1b8193f93bc5da20388"><td class="memItemLeft" align="right" valign="top">StdLargeVec&lt; <a class="el" href="class_s_p_h_1_1_base_particle_data.html">BaseParticleData</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#a40cf7504c361f1b8193f93bc5da20388">base_particle_data_</a></td></tr>
<tr class="separator:a40cf7504c361f1b8193f93bc5da20388"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5c08c3a1026bfd96469e902ebb9e934"><td class="memItemLeft" align="right" valign="top">Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#ac5c08c3a1026bfd96469e902ebb9e934">speed_max_</a></td></tr>
<tr class="separator:ac5c08c3a1026bfd96469e902ebb9e934"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8225845e6682236f4c7b11c162f76f3"><td class="memItemLeft" align="right" valign="top">Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#ab8225845e6682236f4c7b11c162f76f3">signal_speed_max_</a></td></tr>
<tr class="separator:ab8225845e6682236f4c7b11c162f76f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0501a7ad45113b5e671704ed6537c0fb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#a0501a7ad45113b5e671704ed6537c0fb">real_particles_bound_</a></td></tr>
<tr class="separator:a0501a7ad45113b5e671704ed6537c0fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23a45e288c1b0e415e11c24170250136"><td class="memItemLeft" align="right" valign="top"><a id="a23a45e288c1b0e415e11c24170250136"></a>
<a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>number_of_ghost_particles_</b></td></tr>
<tr class="separator:a23a45e288c1b0e415e11c24170250136"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a6c1c4100b6ee5f1691c1f719cdfb4f9c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particles.html#a6c1c4100b6ee5f1691c1f719cdfb4f9c">body_</a></td></tr>
<tr class="separator:a6c1c4100b6ee5f1691c1f719cdfb4f9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0977d6d0bf5383d48776ecb598faada"><td class="memItemLeft" align="right" valign="top"><a id="ae0977d6d0bf5383d48776ecb598faada"></a>
string&#160;</td><td class="memItemRight" valign="bottom"><b>body_name_</b></td></tr>
<tr class="separator:ae0977d6d0bf5383d48776ecb598faada"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Particles with essential (geometric and kinematic) data. There are three types of particles. One is real particles whose states are updated by particle dynamics. One is buffer particles whose state are not updated by particle dynamics. They may be switched from real particles or switch to real particles. The other is ghost particles whose states are updated according to boundary condition if their indices are included in the neighbor particle list. <br />
 </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="ac29b7e14bee6457cbcfee3b67901906e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac29b7e14bee6457cbcfee3b67901906e">&#9670;&nbsp;</a></span>AddABufferParticle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::BaseParticles::AddABufferParticle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Add buffer particles which latter may be realized for particle dynamics, or used as ghost particle. </p>

<p>Reimplemented in <a class="el" href="class_s_p_h_1_1_viscoelastic_fluid_particles.html#abf7836a6e6bea3a526547f3cea92121c">SPH::ViscoelasticFluidParticles</a>, <a class="el" href="class_s_p_h_1_1_solid_particles.html#a9b1d232c223414a0cc834285a861a8e5">SPH::SolidParticles</a>, <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#a09bf0b07174be0b619530627f5774c4c">SPH::DiffusionReactionParticles&lt; SolidParticles, Solid &gt;</a>, and <a class="el" href="class_s_p_h_1_1_fluid_particles.html#abbc022695882efab2afbf7e77b25ded8">SPH::FluidParticles</a>.</p>

</div>
</div>
<a id="a0449d0a5f685a2885d0c98796c4c6ab2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0449d0a5f685a2885d0c98796c4c6ab2">&#9670;&nbsp;</a></span>CopyFromAnotherParticle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::BaseParticles::CopyFromAnotherParticle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>this_particle_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>another_particle_index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Copy state, except particle id, from another particle </p>

<p>Reimplemented in <a class="el" href="class_s_p_h_1_1_active_muscle_particles.html#aa9d637d04a60e0f3da20edffdb9652e7">SPH::ActiveMuscleParticles</a>, <a class="el" href="class_s_p_h_1_1_elastic_solid_particles.html#a9f1483922c987ca8345081f03741c25c">SPH::ElasticSolidParticles</a>, <a class="el" href="class_s_p_h_1_1_viscoelastic_fluid_particles.html#acab52b2d6ea12f5a387c2323ef015ee3">SPH::ViscoelasticFluidParticles</a>, <a class="el" href="class_s_p_h_1_1_solid_particles.html#a380664bfe2555c88a7fc96452de98a15">SPH::SolidParticles</a>, <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#a9a48badab521a63e762f1e2f1c948bab">SPH::DiffusionReactionParticles&lt; SolidParticles, Solid &gt;</a>, and <a class="el" href="class_s_p_h_1_1_fluid_particles.html#a40c1c484cb0029d020d1a0085e188eda">SPH::FluidParticles</a>.</p>

</div>
</div>
<a id="affce1d43813839bdc86d091ff8c77e2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#affce1d43813839bdc86d091ff8c77e2d">&#9670;&nbsp;</a></span>getKernelGradient()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Vecd SPH::BaseParticles::getKernelGradient </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>particle_index_i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>particle_index_j</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Real&#160;</td>
          <td class="paramname"><em>dW_ij</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Vecd &amp;&#160;</td>
          <td class="paramname"><em>e_ij</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the kernel gradient in weak form. </p>

<p>Reimplemented in <a class="el" href="class_s_p_h_1_1_solid_particles.html#adaf798dbe70fc42d8b6a6eafe4e7cefa">SPH::SolidParticles</a>.</p>

</div>
</div>
<a id="a148829e13af97864d088243029640369"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a148829e13af97864d088243029640369">&#9670;&nbsp;</a></span>getSPHBody()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> * SPH::BaseParticles::getSPHBody </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>access the sph body </p>

</div>
</div>
<a id="a0c918a4b9c80e320423964d051914ede"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c918a4b9c80e320423964d051914ede">&#9670;&nbsp;</a></span>InitializeABaseParticle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::BaseParticles::InitializeABaseParticle </td>
          <td>(</td>
          <td class="paramtype">Vecd&#160;</td>
          <td class="paramname"><em>pnt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Real&#160;</td>
          <td class="paramname"><em>Vol_0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Real&#160;</td>
          <td class="paramname"><em>sigma_0</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Initialize a base particle by input a postion, volume and reference number density. </p>

</div>
</div>
<a id="ad651c3c45924d4646012e42f814a9525"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad651c3c45924d4646012e42f814a9525">&#9670;&nbsp;</a></span>insertAGhostParticle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsize__t.html">size_t</a> SPH::BaseParticles::insertAGhostParticle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>index_particle_i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Insert a ghost particle into the particle list. </p>

</div>
</div>
<a id="ae100aed7c54da1c672adf12bf692ad03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae100aed7c54da1c672adf12bf692ad03">&#9670;&nbsp;</a></span>isSwappingAllowed()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classbool.html">bool</a> SPH::BaseParticles::isSwappingAllowed </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>this_particle_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>that_particle_index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Check whether particles allowed for swaping </p>

</div>
</div>
<a id="a2c0245086daa4d05e214874f158dc53a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c0245086daa4d05e214874f158dc53a">&#9670;&nbsp;</a></span>mirrorInAxisDirection()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::BaseParticles::mirrorInAxisDirection </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>particle_index_i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Vecd&#160;</td>
          <td class="paramname"><em>body_bound</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classint.html">int</a>&#160;</td>
          <td class="paramname"><em>axis_direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get mirror a particle along an axis direaction. </p>

<p>Reimplemented in <a class="el" href="class_s_p_h_1_1_fluid_particles.html#a4d1883819697892721b3e5cceccaf2dd">SPH::FluidParticles</a>.</p>

</div>
</div>
<a id="aacd901a6230deb7dfb2b6e5ca192072c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aacd901a6230deb7dfb2b6e5ca192072c">&#9670;&nbsp;</a></span>normalizeKernelGradient()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Vecd SPH::BaseParticles::normalizeKernelGradient </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>particle_index_i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Vecd &amp;&#160;</td>
          <td class="paramname"><em>kernel_gradient</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Normalize the kernel gradient. </p>

<p>Reimplemented in <a class="el" href="class_s_p_h_1_1_solid_particles.html#ad6dc347577e65c254e4c5490b4bcc189">SPH::SolidParticles</a>.</p>

</div>
</div>
<a id="a216a4d01a6c0d13d7e4efe20fbd18144"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a216a4d01a6c0d13d7e4efe20fbd18144">&#9670;&nbsp;</a></span>PointToThisObject()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_base_particles.html">BaseParticles</a> * SPH::BaseParticles::PointToThisObject </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Pointer to this object. </p>

<p>Reimplemented in <a class="el" href="class_s_p_h_1_1_active_muscle_particles.html#a6519dd0ec78f699e3218b9b11e22c1b9">SPH::ActiveMuscleParticles</a>, <a class="el" href="class_s_p_h_1_1_elastic_solid_particles.html#a86a9fb93f695ec77b14d150dcc623733">SPH::ElasticSolidParticles</a>, <a class="el" href="class_s_p_h_1_1_electro_physiology_particles.html#a4569b900d957e5bcbf5216b6e1c70f00">SPH::ElectroPhysiologyParticles</a>, <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#abcbf8afc296e24b934741e33a312fabc">SPH::DiffusionReactionParticles&lt; SolidParticles, Solid &gt;</a>, <a class="el" href="class_s_p_h_1_1_viscoelastic_fluid_particles.html#a4e317cb84ac43688bddd32fcbe1f0678">SPH::ViscoelasticFluidParticles</a>, <a class="el" href="class_s_p_h_1_1_solid_particles.html#a482632ce6d2ad62f3fc7c61712cb1164">SPH::SolidParticles</a>, and <a class="el" href="class_s_p_h_1_1_fluid_particles.html#a1a2ef6a31ff9debadee77c98e82ae2dd">SPH::FluidParticles</a>.</p>

</div>
</div>
<a id="ab2f5c838360bca79acaec94a9fbd2e9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2f5c838360bca79acaec94a9fbd2e9d">&#9670;&nbsp;</a></span>ReadFromXmlForReloadParticle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::BaseParticles::ReadFromXmlForReloadParticle </td>
          <td>(</td>
          <td class="paramtype">std::string &amp;&#160;</td>
          <td class="paramname"><em>filefullpath</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Reload particle position and volume from XML files. </p>

<p>Reimplemented in <a class="el" href="class_s_p_h_1_1_solid_particles.html#a09b3fb99bb7fd3a33108e4487809fb63">SPH::SolidParticles</a>.</p>

</div>
</div>
<a id="a1f2730d75f45068921b16338bb05c5fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f2730d75f45068921b16338bb05c5fb">&#9670;&nbsp;</a></span>ReadParticleFromXmlForRestart()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SPH::BaseParticles::ReadParticleFromXmlForRestart </td>
          <td>(</td>
          <td class="paramtype">std::string &amp;&#160;</td>
          <td class="paramname"><em>filefullpath</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Initialize particle data from restart xml file. </p>

<p>Reimplemented in <a class="el" href="class_s_p_h_1_1_active_muscle_particles.html#a54422a26c9a67a0224e43802cf3d4b29">SPH::ActiveMuscleParticles</a>, <a class="el" href="class_s_p_h_1_1_elastic_solid_particles.html#a9450b0c0f8b8509e69fd41effa5dd8db">SPH::ElasticSolidParticles</a>, <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#a629b06a5fecda43e3aa5438ab0fbc35a">SPH::DiffusionReactionParticles&lt; SolidParticles, Solid &gt;</a>, <a class="el" href="class_s_p_h_1_1_viscoelastic_fluid_particles.html#aec7ce5ef9e8c723ce246f5947aea63b5">SPH::ViscoelasticFluidParticles</a>, <a class="el" href="class_s_p_h_1_1_solid_particles.html#a435fb9f11846d3f71b2901518db99d43">SPH::SolidParticles</a>, and <a class="el" href="class_s_p_h_1_1_fluid_particles.html#a6a1ffc4389771c2a3fd2f8c5b87b8c79">SPH::FluidParticles</a>.</p>

</div>
</div>
<a id="ab7d8eefc5ca4efa99789fe91b349fd0c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7d8eefc5ca4efa99789fe91b349fd0c">&#9670;&nbsp;</a></span>swapParticles()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::BaseParticles::swapParticles </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>this_particle_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>that_particle_index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Swapping particles. </p>

<p>Reimplemented in <a class="el" href="class_s_p_h_1_1_active_muscle_particles.html#a4b361ba4da2e547c693516358850968d">SPH::ActiveMuscleParticles</a>, <a class="el" href="class_s_p_h_1_1_elastic_solid_particles.html#a96b9d92ebb9481397fc84a09300c1eda">SPH::ElasticSolidParticles</a>, <a class="el" href="class_s_p_h_1_1_viscoelastic_fluid_particles.html#ac963c9b76b4372b5e94a9502a62bace8">SPH::ViscoelasticFluidParticles</a>, <a class="el" href="class_s_p_h_1_1_solid_particles.html#a39a0ee018b13cf710d8991319202d94a">SPH::SolidParticles</a>, <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#a348cd377a9c4a1a3cfb2173fb96ccf51">SPH::DiffusionReactionParticles&lt; SolidParticles, Solid &gt;</a>, and <a class="el" href="class_s_p_h_1_1_fluid_particles.html#a843334583d2b9fb23ab765a3dcd356db">SPH::FluidParticles</a>.</p>

</div>
</div>
<a id="ab4a396f910899f952cc779677b063cf2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab4a396f910899f952cc779677b063cf2">&#9670;&nbsp;</a></span>UpdateFromAnotherParticle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::BaseParticles::UpdateFromAnotherParticle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>this_particle_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>another_particle_index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Update the state of a particle from another particle </p>

<p>Reimplemented in <a class="el" href="class_s_p_h_1_1_fluid_particles.html#a3fe8a1ad4a2f3f84027dabfe223f83c9">SPH::FluidParticles</a>.</p>

</div>
</div>
<a id="ad6a1897727cd324d07287bc135297bbb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6a1897727cd324d07287bc135297bbb">&#9670;&nbsp;</a></span>WriteParticlesToPltFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SPH::BaseParticles::WriteParticlesToPltFile </td>
          <td>(</td>
          <td class="paramtype">ofstream &amp;&#160;</td>
          <td class="paramname"><em>output_file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Write particle data in PLT format for Tecplot. </p>

<p>Reimplemented in <a class="el" href="class_s_p_h_1_1_active_muscle_particles.html#a6c5fc0e06a7d1f0c130ae115a99bc70e">SPH::ActiveMuscleParticles</a>, <a class="el" href="class_s_p_h_1_1_elastic_solid_particles.html#a92e3de7606747c0d383871f3a8976483">SPH::ElasticSolidParticles</a>, <a class="el" href="class_s_p_h_1_1_viscoelastic_fluid_particles.html#a532118144f30768680191d89894c6364">SPH::ViscoelasticFluidParticles</a>, <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#a7f74782da8540d0a350211f7b53beebd">SPH::DiffusionReactionParticles&lt; SolidParticles, Solid &gt;</a>, <a class="el" href="class_s_p_h_1_1_solid_particles.html#ae879142b492b62e074553e48894cd849">SPH::SolidParticles</a>, and <a class="el" href="class_s_p_h_1_1_fluid_particles.html#adec2ced55a5a3154387b75ddd523e814">SPH::FluidParticles</a>.</p>

</div>
</div>
<a id="a8556f29d94752fcffb92d47ac9ddbd03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8556f29d94752fcffb92d47ac9ddbd03">&#9670;&nbsp;</a></span>WriteParticlesToVtuFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::BaseParticles::WriteParticlesToVtuFile </td>
          <td>(</td>
          <td class="paramtype">ofstream &amp;&#160;</td>
          <td class="paramname"><em>output_file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Write particle data in VTU format for Paraview. </p>

<p>Reimplemented in <a class="el" href="class_s_p_h_1_1_active_muscle_particles.html#aa84bd5e8d63a9f2a99fa4048e792c4a2">SPH::ActiveMuscleParticles</a>, <a class="el" href="class_s_p_h_1_1_elastic_solid_particles.html#abab680b45f8abd74c20b10feed5e1894">SPH::ElasticSolidParticles</a>, <a class="el" href="class_s_p_h_1_1_viscoelastic_fluid_particles.html#afe4d7624d4096bec0de7ce44a64df923">SPH::ViscoelasticFluidParticles</a>, <a class="el" href="class_s_p_h_1_1_solid_particles.html#ae848c2ebc45cdb9e94007890be6876ac">SPH::SolidParticles</a>, <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#a0543c0e1e0dbcf4d4e03497903351491">SPH::DiffusionReactionParticles&lt; SolidParticles, Solid &gt;</a>, and <a class="el" href="class_s_p_h_1_1_fluid_particles.html#a0404934b9a60bda178738c4ac73c8a06">SPH::FluidParticles</a>.</p>

</div>
</div>
<a id="a0407cf5f6a5aa2d2676ed7ecb67f412b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0407cf5f6a5aa2d2676ed7ecb67f412b">&#9670;&nbsp;</a></span>WriteParticlesToXmlForRestart()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SPH::BaseParticles::WriteParticlesToXmlForRestart </td>
          <td>(</td>
          <td class="paramtype">std::string &amp;&#160;</td>
          <td class="paramname"><em>filefullpath</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Write particle data in XML format for restart. </p>

<p>Reimplemented in <a class="el" href="class_s_p_h_1_1_active_muscle_particles.html#ad575f16b0b00f93e81554f6e341a78e4">SPH::ActiveMuscleParticles</a>, <a class="el" href="class_s_p_h_1_1_elastic_solid_particles.html#aba5f1f11f048b0efb9554612efe65ec7">SPH::ElasticSolidParticles</a>, <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#a96f28c3dd7d94848990362ed378104d7">SPH::DiffusionReactionParticles&lt; SolidParticles, Solid &gt;</a>, <a class="el" href="class_s_p_h_1_1_viscoelastic_fluid_particles.html#a9bdf17d459c5d31606a252c78c5621e1">SPH::ViscoelasticFluidParticles</a>, <a class="el" href="class_s_p_h_1_1_solid_particles.html#a8043eccf5e6b7f71356b52d4635ec439">SPH::SolidParticles</a>, and <a class="el" href="class_s_p_h_1_1_fluid_particles.html#aec822ce32ba0bc619e6c7fcbbc2dbbe0">SPH::FluidParticles</a>.</p>

</div>
</div>
<a id="af58b2a93c61f1b99b92e8c719c997b6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af58b2a93c61f1b99b92e8c719c997b6c">&#9670;&nbsp;</a></span>WriteToXmlForReloadParticle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::BaseParticles::WriteToXmlForReloadParticle </td>
          <td>(</td>
          <td class="paramtype">std::string &amp;&#160;</td>
          <td class="paramname"><em>filefullpath</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Output particle position and volume in XML file for reloading particles. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a6b6da33563d4725affb544d20848ea58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b6da33563d4725affb544d20848ea58">&#9670;&nbsp;</a></span>base_material_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_base_material.html">BaseMaterial</a>* SPH::BaseParticles::base_material_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Base material corresponding to base particles </p>

</div>
</div>
<a id="a40cf7504c361f1b8193f93bc5da20388"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40cf7504c361f1b8193f93bc5da20388">&#9670;&nbsp;</a></span>base_particle_data_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">StdLargeVec&lt;<a class="el" href="class_s_p_h_1_1_base_particle_data.html">BaseParticleData</a>&gt; SPH::BaseParticles::base_particle_data_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Vector of base particle data. </p>

</div>
</div>
<a id="a6c1c4100b6ee5f1691c1f719cdfb4f9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c1c4100b6ee5f1691c1f719cdfb4f9c">&#9670;&nbsp;</a></span>body_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a>* SPH::BaseParticles::body_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The body in which the particles belongs to. </p>

</div>
</div>
<a id="a0501a7ad45113b5e671704ed6537c0fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0501a7ad45113b5e671704ed6537c0fb">&#9670;&nbsp;</a></span>real_particles_bound_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsize__t.html">size_t</a> SPH::BaseParticles::real_particles_bound_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Maximum possible number of real particles. Also the start index of ghost particles. </p>

</div>
</div>
<a id="ab8225845e6682236f4c7b11c162f76f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8225845e6682236f4c7b11c162f76f3">&#9670;&nbsp;</a></span>signal_speed_max_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Real SPH::BaseParticles::signal_speed_max_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Maximum signal speed. </p>

</div>
</div>
<a id="ac5c08c3a1026bfd96469e902ebb9e934"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5c08c3a1026bfd96469e902ebb9e934">&#9670;&nbsp;</a></span>speed_max_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Real SPH::BaseParticles::speed_max_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Maximum particle speed. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>SPHINXsys/src/shared/particles/<a class="el" href="base__particles_8h_source.html">base_particles.h</a></li>
<li>SPHINXsys/src/shared/particles/<a class="el" href="base__particles_8cpp.html">base_particles.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
